home *** CD-ROM | disk | FTP | other *** search
- /* Prototypes for functions defined in Modules/rotormodule.c */
-
- static void set_seed(PyRotorObject * );
- static double r_random(PyRotorObject * );
- static short r_rand(PyRotorObject * , int );
- static void set_key(PyRotorObject * , unsigned char * );
- static PyRotorObject * PyRotor_New(int , unsigned char * );
- static void RTR_make_id_rotor(PyRotorObject * , unsigned char * );
- static void RTR_e_rotors(PyRotorObject * );
- static void RTR_d_rotors(PyRotorObject * );
- static void RTR_positions(PyRotorObject * );
- static void RTR_advances(PyRotorObject * );
- static void RTR_permute_rotor(PyRotorObject * , unsigned char * , unsigned char * );
- static void RTR_init(PyRotorObject * );
- static void RTR_advance(PyRotorObject * );
- static unsigned char RTR_e_char(PyRotorObject * , unsigned char );
- static unsigned char RTR_d_char(PyRotorObject * , unsigned char );
- static void RTR_e_region(PyRotorObject * , unsigned char * , int , int );
- static void RTR_d_region(PyRotorObject * , unsigned char * , int , int );
- static void PyRotor_Dealloc(PyRotorObject * );
- static PyObject * PyRotor_Encrypt(PyRotorObject * , PyObject * );
- static PyObject * PyRotor_EncryptMore(PyRotorObject * , PyObject * );
- static PyObject * PyRotor_Decrypt(PyRotorObject * , PyObject * );
- static PyObject * PyRotor_DecryptMore(PyRotorObject * , PyObject * );
- static PyObject * PyRotor_SetKey(PyRotorObject * , PyObject * );
- static PyObject * PyRotor_GetAttr(PyRotorObject * , unsigned char * );
- static PyObject * PyRotor_Rotor(PyObject * , PyObject * );
-